import React from 'react';
import { Icon } from './base';

/**
 * &#xe63e; 钻石
 */
export default class IconDiamond extends Icon {
    static defaultProps = {
        ...Icon.defaultProps,
        color: '#F46200',
    };

    render() {
        const { color, className, style } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    d="M707.0464 385.2544l42.3168-130.2528 99.2768 130.2528h-141.5936z m-24.9856 76.8H837.12l-236.3392 250.112 81.28-250.112z m-342.6048 0l81.8944 249.1904-235.4688-249.1904h153.5744z m37.4528-131.9168l-38.8352-118.272h107.136l-68.3008 118.272z m200.8832-118.272h104.832l-38.0928 117.2224-66.7392-117.1968z m-144.0256 173.3888l77.7216-134.5792 76.6208 134.5792h-154.368z m167.5264 76.8l-89.984 276.9152-91.0336-276.9152h180.992zM271.488 255.3088l42.7008 129.9456H173.7216l97.7664-129.9456z m685.2864 145.0752l-190.72-250.1888-0.128-0.128a40.1664 40.1664 0 0 0-5.8112-5.9904c-0.4608-0.4352-1.024-0.7168-1.536-1.1008a40.7808 40.7808 0 0 0-5.2736-3.4304c-0.896-0.4352-1.8176-0.7936-2.7392-1.2032-1.0752-0.4352-2.0736-1.024-3.2-1.3824-0.5632-0.2048-1.1776-0.256-1.7408-0.384-1.0752-0.3072-2.176-0.512-3.2768-0.6912a37.7088 37.7088 0 0 0-5.0176-0.5888c-0.64-0.0512-1.2032-0.2048-1.8432-0.2048H285.0304c-0.5632 0-1.0496 0.1536-1.6128 0.1536-1.792 0.1024-3.584 0.3072-5.4272 0.6656-1.0752 0.2048-2.1504 0.4096-3.2 0.6912-0.5888 0.1792-1.2032 0.2048-1.792 0.4096-1.0496 0.3328-1.9968 0.896-2.9952 1.3312-1.024 0.4352-1.9968 0.8192-2.944 1.28a38.4 38.4 0 0 0-4.9664 3.2512c-0.6144 0.4864-1.3056 0.8448-1.8688 1.3568-2.1248 1.792-4.0192 3.7632-5.7088 5.9392l-0.1792 0.2048-188.2368 250.1888a38.3232 38.3232 0 0 0 2.7648 49.4592l414.72 438.9376c0.384 0.3584 0.8448 0.64 1.2032 1.024 1.0752 1.0752 2.2272 2.048 3.456 2.9696l0.4608 0.4096c0.2048 0.1536 0.4096 0.384 0.64 0.512 0.4864 0.384 1.024 0.64 1.536 0.9216a37.5296 37.5296 0 0 0 7.0144 3.5584c0.6144 0.2304 1.1264 0.512 1.7152 0.7424h0.1024c0.4096 0.1536 0.8704 0.1024 1.28 0.2304 3.4048 0.9728 6.912 1.664 10.496 1.664 3.584 0 7.1168-0.6912 10.496-1.664 0.4864-0.128 0.9728-0.128 1.408-0.256l0.1024-0.0256c0.5632-0.1792 1.024-0.512 1.5872-0.6912 1.1776-0.4608 2.304-0.9728 3.456-1.5616 1.2288-0.5888 2.4064-1.2288 3.5328-1.9456 0.512-0.3328 1.1008-0.5888 1.6128-0.9472l0.7424-0.6656a33.8944 33.8944 0 0 0 3.6864-3.1744c0.4096-0.4096 0.9216-0.7168 1.28-1.1008l414.72-438.9376a38.4 38.4 0 0 0 2.6624-49.664z"
                    fill={color}
                />
            </svg>
        );
    }
}
